Kinetis SDK API Reference Manual  1.0.0-beta
Freescale Semiconductor, Inc.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages

The section describes the programming interface of the DSPI shared IRQ driver for master and slave Peripheral drivers. More...

Data Structures

struct  dspi_shared_irq_config_t
 Configuration of the DSPI IRQs shared by master and slave drivers. More...
 

Functions

static void dspi_set_shared_irq_state (uint32_t instance, void *state, bool isMaster)
 Set the shared IRQ state structure. More...
 
void dspi_master_irq_handler (void *state)
 
void dspi_slave_irq_handler (void *state)
 

Variables

dspi_shared_irq_config_t g_dspiSharedIrqConfig [HW_SPI_INSTANCE_COUNT]
 Contains global IRQ configuration information for the DSPI drivers. More...
 

Data Structure Documentation

struct dspi_shared_irq_config_t

Data Fields

bool isMaster
 Whether the IRQ is used by the master mode driver. More...
 
void * state
 Void pointer to driver state information.
 

Field Documentation

bool dspi_shared_irq_config_t::isMaster

Function Documentation

static void dspi_set_shared_irq_state ( uint32_t  instance,
void *  state,
bool  isMaster 
)
inlinestatic

This function sets whether the master or slave driver IRQ handler will be invoked and to set the pointer to the driver run-time state structure associated with the desired module instance number. This is not a public API.

Variable Documentation

dspi_shared_irq_config_t g_dspiSharedIrqConfig[HW_SPI_INSTANCE_COUNT]